21. Identify the function of the bolded word, phrase, or clause in the sentence.

A brightly colored package was waiting on our front door step WHEN WE ARRIVED HOME.

subordinating conjunction

infinitive

adverb clause

gerund

participle