prevented double including of material.h