adding the core