reformatter code