First try at implementing pipelining.