wiring up the core