updated grouping. moved grouping functions from FigureTask to UnknownsPane