need a code review, new to process.

Hello all, I had not done a pull request before, so none of my code had been seen by y'all. Would love the feedback and a code review!
Maybe all of these map init calls can be broken out into a helper function?