adding exact matrix representation