Tried hashing, only worked for 8/10 tests