send function looks like it works. So far only tested on integers and strings