Function responsible for pattern recognition / associations?