added failkey to outer return array