Identify the correct verb form to complete the following sentence:
"The team ________ working on the project for several months when they finally reached a breakthrough."
"The team ________ working on the project for several months when they finally reached a breakthrough."