Add new vote function