switch to using view