message queue buffer added for synchronisation issues