wrap stoull with try..catch