chang faulty patter to pattern2