Add logic for section numbers