Added try/finally