removed console.log and added missing ;