Initial hamming solution