formatting expanded_book