codegen tweaks
notes