separated variables by material type