modify appController