implementation of broadcast messaging. treatment of some errors