added send and receive functions