In fact, when one of my friends was writing a book about the topic, he reached out to me to write a chapter for his book.
De hecho, cuando un amigo mío escribía un libro sobre del tema, me pidió que escribiera un capítulo para su libro.