comments for matrix method