removed top level try catch