write community vector