Added cases where m == l, m == v or m == v == l