Added try/catch/finally to main