Thanks. When does failed.isEmpty happen here?