Updated pipelining code.
Updated pipelining code.