rewrite for multicast, publisher subscriber