Choose the correct form of the verbs in brackets.
We ___ (walk) for an hour when it started to rain.
had been walking
was walking
walked