expose trans_id to the caller