Updated hamming example