added message receiving