switch to console.log