Added broadcast_to_players function