use minEms instead of ems