refactoring view / main