removed console.logs()