Renamed currMap to curMap.