added some dumb send and receive code