Added console.log to print out all information to the console