Correction of typos and re-definition of hashing