format the code before presentation