add vote functionality