format the code