tx merge functions complete