adding the class materials