While Kate _____________ her report, John was cooking lunch.
was writing
wrote
had written
had been writing