set up tx