removed console.log calls, added try/catch back to initialize