Added creating of chapters