"added loops for bestSEt creation and mutation