* added prototype functionality for sending messages