Add hamming