use generic views
generic view and testing