added my print_out function to display the input