Thought of a better way to console.log