first step

first part completed
basic pipelining