changed to console.log