implement simple vote mechanism

The mechanism is based on a sorted insert. So far the operator changes
are not considered.