simplifying assignments