updated CR and iMaps to contain struct arrays in addition to pointers.