working on category view