basic writing of tx working.