added distinct_changes