addes hashing functions, they are not tested yet