try catch around problem