Pattern matching & example.