worked on hashes iterating