added ability to send mesgs