added working threads for cpu