hashing better with ids and stuff but errory