added the ability to search by name or category