Add diff and integ