refactoring the view lib