gave both options for hashing