use 'requiredMaterials' instead of 'materials'