added feature to model grp variances seperately