added broadcast function
changes package.json