Correcting logic