She .........................................(wait) for the bus for 30 minutes before it arrived.
had been waiting
had waited