selection pattern finished.