Sub-generator to make a component