Figure 3: Block diagram for implementation.