setup code blocks