rewrite - Chapter Grouping