a few changes to matrix