Synchronization example initial code