Phosphorylation of CheY regulates which direction a flagellum rotates, thus controlling whether an organism runs or tumbles. The phosphorylation of CheY together with the co-regulation of acetylation is used as a response regulator for the Escherichia coli, a bacterial flagellum.