added if statements for every broadcast