simplify assignment