added comments to variables
added comments to the function call
added comments to the results
added comments to the function
added comments to the console log