can set depvars in material class