hashing almost works