Collection: pattern and thread