Code reformation