refactoring for form and view Lists