the first loop is done 39502