last of the exercises, and a console log