refactoring no controller.