how to adapt a book