exploring with as a substitute for try..catch..finally statements