final version of our_print()