added error for testing