add node check for sendAndReceive