adding sync