added search for categories