added proc to my_map example to see it works
added proc to my_map example to see it works