added switch main views, first example