more minireg stuff
more minireg work