updated console.log printout