semi final version of sync