switch-views on kind