argument for setting threads