change categories to use view