added hamming