refactoring
view skeleton