complete method for votings