- change classproperty _next to next
- change method _register to register
implement record validates which has the declare style