adapted for serial recording procedures; cleanup needed; appended author tags to fclose-call