removed creating new matrix where not required