fixes/sample runtime code gen example