added pause, quit, and more