fix data dictionaries, begin making output routines