almost done with entr mim princ with reg