num samples