adds assignment