added $promise->sync