initial hashing functions