untested minireg!