use generic view for to replace general view