More work on the sync program