Choose the correct answer.
By the time we got to the shop, a long queue _____ already _______ (form) outside.
had ... formed
formed
had ... been formed
had ... been forming