send message prototype