Put code into standard format