hamming dist working?