i didn't understand the loop