wrapped something in try/catch