add a pairing example, simplify main vote example