for preparing the materials