Added lowestMX function