Suround with try clause for more security