updated docs to new map call