add cpu_cores slice attribute