Add sample codes
Update code generation of constant in args
Bugfix