renamed materialinstance to material