modifed so that both "A" and "C" are interpreted as code for correction