adding exit option