formatting code snippets