formate the code