Changed references from item to material