the first loop is done 3079