Hamming ex done: each_with_index