allow for passing book to app