refactors for apps overriding;