work on category search