work on rescoreAssignment()