Added comments to the format_body method