basic pipelining working