refactoring definitions
build
regs-dispatch tests
dispatch tests