What is the function of the gerund phrase in the sentence below?
He tried scrubbing with stain remover, but the grass stain on his pants
remained.
O subject
O subject complement
O direct object
o indirect object
O object of a preposition