loop for markers