Main.getUnitOfMeasure(): works