Renamed .cmap .each and using forEach instad of map for internal