final touches done with hamming code