Added hash functions