added number of cpu detection