potemkin def-map-type in place of manual map implementation