add try/catch in Main before calling menu