Added subtract function