account for the fact that there can be more than one pattern per stop