added client side transaction insertion