pattern2 (Demo)