start looping through the image