Formatting code snippet