add some docs and output list (item ingroup-p lastingroup-p)