compiled with Mattis's changes; references to WOLD and IDS