formatting code blocks correctly