map prototype