done with hamming