changes to add Materials to Units