added ability to query for all categories