allow for vectorized units