added message event handling