Re-order lines and use unwrap=True