added broadcasting functionality