Made the print_q better