Figure 1:
Basic framework.