now displaying the result matrix