added comment to sendMessage