Project PR

suggestion po, this can be `if ($threads) {` po :smile: