material class is done