added helper variable changes_diff