formate the code.