refactoring view list