please add a function comment, particularly explaining what what is in returned map.