force classes
refactor: use class dictionary in records