well type constraint