removed redundant try/catch blocks