refactored apps with new vers of rot