Trying parity algos