added exit instructions