allow explicit units for density