add functionality for sending completely. need to hook up other end