add wrap response feature