change to use generic view.