adding subtraction and exponent
combined functions