Added index and view_category