i want notes on pattern recognition