changes to mat