doing try/catch work