updated to new rx_recv semantics