added subtraction function