Added subtract function.