replaced appController