changed search logic, using byCategory service now