remove use of setHashes