add regtiser validation