added min number of cores