patterns extracted