View by category to work