Renamed sendToAll to broadcast