all arrays are now 1d arrays.