adding the assignments