Refactoring for understanding

Hey Allison - I added some comments in the commits in this PR. If you have any questions, feel free to comment on my changes or ping me on slack.

Overall the code looks good :D :cat2: