Deleted pattern_detection