add units to components