refactoring available views