use generic views for index, detail and results