char doubling control