added getM