added wrapping for parity