Finished : compute dependence
To do : compute vote count