added the mapMatrix