added message rate control