removed comments about num_masters