add support for swarms and broadcast