getting rid of redundant appContext