Changed Sync procedure