ensure something exists in codeblock