Implemented subtraction fuctions.