vectorized done