Updated Sync; debugging needed