adding exit