make try/catch smaller