call majority() before callinst