simplify assignments