Math Logic Correction