Added voting functionality, corrected typo