merge assignments