tosdr export functions