added message broadcasting handler