old try/catch block removed