added parent response parameter to the example and documented it