working through hashes