added broadcast method to server