Making the code blocks work