calculation of the score ok!