creatin arrays of arrays