added support for communities