added epireg to init