format comments and code