Return i when all else fails