cleaned up tx