added my_map method