Subtraction function with the Nested Function selected