use []error to replace *Errs