use views to replace other view