Added Sync Logic