added error counts