creating hashes