mode-class and mode records