add surround try/catch