build unreg to test reg