Error analysis on Doc3