Added a AddToCore function