setelements simplify