make generated code running