changed controller to use delegating constructors