refactoring for better caching
placeholder for app code