implemented subtraction