appController working