adding errors