add print and print_by to event_queue.rb