added the console log, will test to see if the answer is accurate in the log