fixed rescoreassignment(); it works now