Choose the necessary form of the verb.
My daughter ... writing a composition when the door bell rang.