added try/catch
added semicolon