add basic vote functionality