Added generating arrays