adds code blocks