update of print_backwards