add 5.13 -- generate the register tables automatically