added exit option