changes score calculation