include option for number of cores