mapPrototype