there is a **n** missing in *patterns*.