changed main to bcast