altered the ending of the story a bit, added more comments, and added a console.log at the end.