condense this down to be simpler, more robust

- now that I'm no longer shucking and jiving for books, let's cut down on show off code and make this simpler/more efficient
- TODO: cut down on depth of forEach loops and further external dependencies