fixed hash functions