added try/catch clauses