use Hash#map for brevity