added hashes and dict