Renaming min to core.c