modify calculus