Added comment for sendMessage