adding error counts for future reference