removed unnecessary variable, print threads num