adding core count control