upgraded codegen to 1.0.1