made grouping standardized and found a huge gotcha with polygon