start of hashing