make ignore_errors a kwarg