added message queue for fairer scheduling