adding references to chapters