Added many ways to exit