added matrix capabilities whoooooo