polymorphic map.