removed last console.log()