A protein kinase adds, whereas a phosphatase removes, phosphate residues on substrates. If these mutually antagonistic enzymes work simultaneously, it not only results in a waste of ATP, but also renders impossible a full switch-like interconversion of the phosphorylation state of the substrate. To avoid this, the two enzymes should work alternatively, ideally while communicating with each other.