centralized the view