main_core renamed in core