renamed core to main