refactoring list controller
refactoring list controller