working on PutInnerHashes