Added response as parameter