refactored matrix to lower case