code for global announcement