adding broadcast functionality