added const safety 

you are only calling the score function which is const