modified calcluate score