proper db query
publci has voted class