Add some comments to parity.c