Add helper function to number sections