added broadcast functionality