added best_en6W, 6 parms and weight function