finally realized how to exit application