add nested pattern example for learning