Reconstruct the logic operator