Tidying up the console.log