to do vote model