slightly changed hashing timing