I suggest to make ballot a new type. 
type ballot uint64.
Then you can attach functions to it.