removed the console.log messages.