CodeGenerator partially written