i added a try/finally