add flag to score