added partial voting functionality