added error message class