refactor notify score