the function 'material' is added