add basic calculus