Added response function
Added response function