Updated console.log and alert text to return appropriate contextualized results.