refactored apps