Removed cout in outputCommunity