replaced result with response