added tx function to copy value of cell to current cell