add exiting with press Enter