improved code blocks