Error checking for missing sections