rewrite ballot
Merge pull request #22 from fengjingchao/dev

rewrite ballot