Added console.log to show the results in the console.