modified and populated scoring routine