chapterr functions update