renamed cur_n_val to default_n_val