added functionality for response groups