Making the Controller