How matches are made in the factory