modify the code blocks