Vectorized solution"