added auto-sync