adding errors to airplane class