takes correct view modes