Add section clearing logic and stats