added vote queries