user can press [q] to quit