implements updating the common word and reporting on max possible value