client distributing messages correctly