non-nestable map implementation