better register definition file