add 3 examples of case function