Added a flag to Node for the scoring functionality