Added  good score calculation