had + V3
Use of Past Perfect
- action that had occurred before a certain time in the past / that had already been completed when the other actions occurred.
(putting emphasis only on the fact, not the duration)
When (until) I came in they had already finished their work.
- already, yet, just, never, once, until that day, by the time, until then, for, since, recently, lately(in reported speech).