Should this first check whether the response is null?