response is being declared in line 2