Format the whole code