add q key for exit program