minor:  consider `Hash#map` for brevity