fixes to research and teaching files.