modify the figure of cogroup()