Pattern recognition.