add caption for group output