code block mixin