tiny patch up based on @stevenharman's review request
Merge pull request #60 from daveworth/use_each_with_object

tiny patch up based on @stevenharman's review request