You can also check out this thread which goes into different ways to use sync and how it works.
I had similar issues trying to figure it out.