Add numbers to examples' links
Simplify IF term in examples