added failover to record response