added support for matched input->output responses