Repaired mathematical methods