rewrote the first chapter