use parity' instead parity in example