mats properly this time