Added Sync Function.