Five stages in writing a book