changed the results to each material type would be displayed in a different way