Example of main controller and two sub controllers