Changing hashing method