Adds vote functionality