added block diagram and pipeline diagram