added failed value to return array