added error type