add query for community subcategories
implement communities