analyze and redefined hash functions