added regress_rin