added error count