Objection function subtract() working