handle hashes