gen array of array for CORPUS