implement misc/MultiMap