reformat for chapter setup