added description of randomparams parameter