refactor list of chapters