code for app of  AC