Added states hashing feature