begin groupgaing self aggregate, add a column to gropuaign