added try blocks