implemented majority and plurality votes