added two new sections of discrete error