imlemented rrxor process