add multicast related code