enhanced settings functionality with units for the value