Add a hash functions