prepare for more robust NaBL code generation