pipelining refactored, the third