added setters into MattData