tweaks to code blocks