Use generic view properly