Updated to use controller as syntax.