add groupby model and status