creating array of arrays