Changed for correct number of CPU