add c to assample code.