working on get.communitytype command