fixed array of hashes condition