Added reverseMap
Finished reverseMap