added various expressions and differentiation