working sending messages for groups