Figure 4: Partial diagram of controller module.