the second pattern recognition