change API in runTXServer