added subtraction functionality