build cores