Moved console.log