input of chapters adjusted