10l, check 'i' validity before using it