adding a hash checker