Added voting functionality.