DVCSample: simplify sample code