modified code to include ALL 17 traits, instead of selected 8