print statement removed, fix for index counter in print_targets