Added some broadcast code