added another map_function example