added unsyncedChanges function