Got the map to function properly.