map and max/min by