adding broadcasting API for clients