refactoring, view, view registration