adjusting code blocks