only 2 errors allowed