units auto initialization