Add chapter split function