bugger. damn you mat2