basic functionality of a message from the client.