refactoring view
refactoring view