Restructure transaction