coś się stanie zanim coś się stanie chyba, will have?+past participle np by the time she gets ready, the bus will have left. they will have finished the bridge by the end of the Month
czynność się zaczęła zanim miała miejsce jakaś inna, had+been? czas. ing np it had been raining for days so when they finally left, the roads were very muddy