added body record length to header