switching units to mass