implement pipeline expansion mechanism