Implemented functions for map