Pass response to callback