add support for txnRef