added a console.log on line