created an array of hashes