sync-engine-shared - fix compile errors
sync-engine-shared - better names
sync-engine-shared - SF, got it, now I see why you used the for loop with int i…