introduced minimality check