We use the past perfect continuous: a) to put emphasis on the duration of an action which started and finished in the past before another past action or a stated time in the past, usually with sińce or for.