tried putting in shims for _rx and _tx functions