Added TryCatch Clauses