add voting view_def