custom implementation of map, poor performance, inheritable entries