started fleshing out send and receive