First attempt at pipelined architecture.