minor change to hashing method