removed try/except in main function