doing sync