changed n_repets