Added example of pattern match