material refactoring